package com.zx.jd.model;


import java.io.Serializable;

/**
 * 退款请求
 */
public class TradeRefundReqDto implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = -8666975318824787206L;
	/**
     * 访问接口版本号
     */
    public String version;
    
    /**
     * 商户号
     */
    private String merchant;
    
    /**
     * 交易流水号 数字或字母
     */
    private String tradeNum;
    /**
     * 原交易流水号 数字或字母
     */
    private String oTradeNum;
    /**
     * 交易金额 单位 分
     */
    private int amount;
    /**
     * 交易币种 固定值 CNY
     */
    private String currency;

    /**
     * 交易时间 HHmmss
     */
    private String tradeTime;
    /**
     * 交易通知地址
     */
    private String notifyUrl;
    /**
     * 交易备注
     */
    private String note;
  
    /**
     * 商户签名
     */
    private String sign;
    
    /**
     * 安全证书
     */
    private  String cert;

	/**
	 * @return the version
	 */
	public String getVersion() {
		return version;
	}

	/**
	 * @param version the version to set
	 */
	public void setVersion(String version) {
		this.version = version;
	}

	/**
	 * @return the merchant
	 */
	public String getMerchant() {
		return merchant;
	}

	/**
	 * @param merchant the merchant to set
	 */
	public void setMerchant(String merchant) {
		this.merchant = merchant;
	}

	/**
	 * @return the tradeNum
	 */
	public String getTradeNum() {
		return tradeNum;
	}

	/**
	 * @param tradeNum the tradeNum to set
	 */
	public void setTradeNum(String tradeNum) {
		this.tradeNum = tradeNum;
	}

	/**
	 * @return the oTradeNum
	 */
	public String getoTradeNum() {
		return oTradeNum;
	}

	/**
	 * @param oTradeNum the oTradeNum to set
	 */
	public void setoTradeNum(String oTradeNum) {
		this.oTradeNum = oTradeNum;
	}

	/**
	 * @return the amount
	 */
	public int getAmount() {
		return amount;
	}

	/**
	 * @param amount the amount to set
	 */
	public void setAmount(int amount) {
		this.amount = amount;
	}

	/**
	 * @return the currency
	 */
	public String getCurrency() {
		return currency;
	}

	/**
	 * @param currency the currency to set
	 */
	public void setCurrency(String currency) {
		this.currency = currency;
	}

	/**
	 * @return the tradeTime
	 */
	public String getTradeTime() {
		return tradeTime;
	}

	/**
	 * @param tradeTime the tradeTime to set
	 */
	public void setTradeTime(String tradeTime) {
		this.tradeTime = tradeTime;
	}

	/**
	 * @return the notifyUrl
	 */
	public String getNotifyUrl() {
		return notifyUrl;
	}

	/**
	 * @param notifyUrl the notifyUrl to set
	 */
	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	/**
	 * @return the note
	 */
	public String getNote() {
		return note;
	}

	/**
	 * @param note the note to set
	 */
	public void setNote(String note) {
		this.note = note;
	}

	/**
	 * @return the sign
	 */
	public String getSign() {
		return sign;
	}

	/**
	 * @param sign the sign to set
	 */
	public void setSign(String sign) {
		this.sign = sign;
	}
	
	public String getCert() {
		return cert;
	}

	public void setCert(String cert) {
		this.cert = cert;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("TradeRefundReqDto [version=");
		builder.append(version);
		builder.append(", merchant=");
		builder.append(merchant);
		builder.append(", tradeNum=");
		builder.append(tradeNum);
		builder.append(", oTradeNum=");
		builder.append(oTradeNum);
		builder.append(", amount=");
		builder.append(amount);
		builder.append(", currency=");
		builder.append(currency);
		builder.append(", tradeTime=");
		builder.append(tradeTime);
		builder.append(", notifyUrl=");
		builder.append(notifyUrl);
		builder.append(", note=");
		builder.append(note);
		builder.append(", sign=");
		builder.append(sign);
		builder.append("]");
		return builder.toString();
	}

    
    

}
